<template>

  <div>
    <router-view/>
  </div>
</template>
<script setup lang="ts">
import { isMobile, watchResize } from '@bassist/utils'
import {useMessageStore } from '@/stores'

const store=useMessageStore()
const route = useRoute()
const key = computed(() => `${String(route.name || route.path)}-${new Date()}`)
const routeName=computed(() => `${String(route.name || route.path)}`)

watchResize(() => {
  document.body.className = `platform-${isMobile() ? 'mobile' : 'desktop'}`
})
console.info("key:",key)


</script>
